package com.cade.agriculturemall.view.personalCenter.discount.myDiscountFragment;

/**
 * Created by hshunxin on 2018/2/27.
 */

public class MyDiscountViewHolder<T> {
    public static final int TYPE_ACTIVE = 1;
    public static final int TYPE_LINE = 2;
    public static final int TYPE_NO_ACTIVE = 3;
    private int type;
    private T object;

    public MyDiscountViewHolder(int type, T object) {
        this.type = type;
        this.object = object;
    }

    public int getType() {
        return type;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }
}
